import json


def read_json():
    with open("../data/c_user.json", "r", encoding="utf-8") as f:
        data = json.load(f)
    # values=[value for values in data.values() for value in values]
    arr1 = []
    arr2 = []
    for a in data:
        arr1.append((a['add']))
        arr2.append((a['update'][0], a['update'][1], a['search']))
    # print(arr1, arr2, arr3)
    return arr1, arr2

# print(read_json())
